import time

def print_run_time(fun):
    def wrapper():
        start = time.time()
        fun()
        end = time.time()
        print(end-start)
    return wrapper

@print_run_time
def f1():
    count = 1
    for i in range(1000000):
        count += 1

@print_run_time
def f2():
    count = 1
    for i in range(1000000):
        count *= 1

@print_run_time
def f3():
    count = 1
    for i in range(1000000):
        count -= 1

f1()
f2()
f3()